<template>
  <el-image :src="src">
    <template slot="error">
      <img src="./head.jpg" alt="">
    </template>
  </el-image>
</template>

<script>

export default {
  name: 'ErrImg',
  props: {
    src: {
      type: String,
      default: ''
    }
  }
}
</script>

<style scoped>
/* .image-slot{
width: 100px;
height: 100px;
border-radius: 50%;
} */
</style>
